<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Contact extends PUBLIC_Controller  {
	
	function __construct(){
		parent::__construct();
		$this->load->model("profile_model");
		$this->load->library('email');
		
	}
	
	public function index()
	{
			redirect("public/index");
	}
	
	public function about() {
		$this->render_page('about_clg');
	}
	
	public function person($id = '')
	{
		$this->data['query'] = $this->profile_model->show_profile($id);
		$this->render_page('public_contact_view');
	}
	
	public function process() {
		$this->profile_model->send_mail();
		redirect("public/index");
	}
	
}

/* End of file index.php */
/* Location: ./application/controllers/public/welcome.php */